Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cfg to ticketbuyer.New. #2415

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

jholdstock
Copy link
Member

Ticket buyer config is only set once at creation and then not accessed again from externally, so there is no need for an AccessConfig func, it can just be passed into New.

@jrick
Copy link
Member

jrick commented Sep 9, 2024

I don't like this, we should keep the ability to dynamically update the config even if nothing is doing so at the moment.

ticketbuyer/tb.go Outdated Show resolved Hide resolved
ticketbuyer/tb.go Outdated Show resolved Hide resolved
Ticket buyer config is only set once at creation and then not accessed
again from externally, so there is no need for an AccessConfig func, it
can just be passed into New.
@jholdstock jholdstock reopened this Sep 9, 2024
@jrick jrick merged commit acb201e into decred:master Sep 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants